package com.amc.wxSend.controller.system;

import com.amc.framework.config.GlobalConfig;
import com.amc.wxSend.controller.common.BaseController;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 首页 业务处理
 *
 * @author ZhangXX
 */
@Controller
public class SysIndexController extends BaseController {

    // 系统首页
    @GetMapping("/index")
    public String index(ModelMap mmap) {
        mmap.put("copyrightYear", GlobalConfig.getCopyrightYear());
        return "index";
    }

}
